package com.leinao.file.model;

/**
 *
 * @Description 文件资源Bean
 * @author lizi
 * @date 2018/11/15 下午4:22
 * @Version 1.0
 */
public class FileResource {

    /**
     * 主键
     */
    private Long id;

    /**
     * 文件名
     */
    private String name;

    /**
     * 文件七牛路径
     */
    private String path;

    /**
     * 文件类型1：图片
     */
    private Integer type;

    /**
     * 文件创建日期
     */
    private Long createTime;

    /**
     * 文件最后修改日期
     */
    private Long updateTime;

    /**
     * 文件七牛URL
     */
    private String url;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}